﻿@model Survey.Common.Models.Services.IArticleModel

@AddControls(
    new Fieldset("w48p mh110", "Description")
    {
        new DefinitionList(PercentForLabel.p00)
        {
            new TextOrTextArea()
            .SetSourceProperty(() => Model.Item.Description)
            .SetCssClassName("h110")
            .AsDefinitionListItem()
                .HideLabel(true)
        }
    },
    new Fieldset("w49p mh110 ", "Details")
    {
        new DefinitionList(PercentForLabel.p30)
        {
            new TextOrInput(true)
                .SetSourceProperty(() => Model.Item.ID),

            new TextOrInput(true)
                .SetSourceProperty(() => Model.Item.CreationDate),

            new TextOrInput(true)
                .SetSourceProperty(() => Model.Item.ReleaseDate),

            new TextOrInput(true)
                .SetSourceProperty(() => Model.Item.LastUpdateDate),
        }
    })